<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> 


<%@ page import = "java.util.*"%>

<div>
	<ul id="pageList">
		<c:forEach var = "listElement" items = "${requestScope.userPage}" varStatus="counter">
			<li>
				<a href="<c:url value="/ShowUser.do?page=${counter.count}"/>">${counter.count}</a>
			</li>
		</c:forEach>  
	</ul>

</div><br />


<c:forEach var = "listElement" items = "${requestScope.userList}">
<br />
<table class="newsadmin">
    <tr class="newshead">
    <td>
    <bean:message key="Showuser.name"/>  <a href="<c:url value="/ViewEditUser.do?id=${listElement.idUser}"/>"><c:out value="${listElement.name}"/></a></td>
         
    </tr>
    <tr class="newsdes">
         <td>Username:<c:out value="${listElement.username}"/></td>
        </tr>
    <tr class="newsdes">
        <td>Email:<c:out value="${listElement.email}"/></td>
   </tr>
   <tr class="newsbottom"><td></td>
  </tr>
  <tr>
  <td></td>
  </tr>
  
 	</table>
<br/>
</c:forEach>

<!-- <input type="hidden" value="delUser" name="ajaxattempt" id="hiddendelUser" /> -->
